<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8" />
<title>易立德单点登录</title>
<link rel="shortcut icon" href="./favicon.ico" th:href="@{/favicon.ico}">
<link rel="stylesheet" th:href="@{/css/login/theme3/login.css}">
</head>

<body>
	<!-- <div class="top">考勤通&nbsp;·&nbsp;用数据改变未来</div> -->
	<div class="content">
		<div class="login">
			<div class="title">
				<samp th:text="${oauthClient != null and oauthClient.clientName != null ? oauthClient.clientName : '登录'}"></samp>
			</div>
			<form onclick="this.disabled=false" onsubmit="return handleSubmit()" method="post" th:action="${#request.getQueryString() != null ? #request.getRequestURL() + '?' + #request.getQueryString() : #request.getRequestURL()}">
				<div class="line">
					<img class="smallImg" th:src="@{/images/theme3/icon1.png}"/> <input placeholder="请输入账号" type="text" name="username"/>
				</div>
				<div class="line">
					<img class="smallImg" th:src="@{/images/theme3/icon2.png}"/> <input placeholder="请输入密码" type="password" name="password"/>
				</div>
				<div class="username-error" th:text="${errorMsg}"></div>
				<button type="submit" class="logBut">登&nbsp;&nbsp;录</button>
			</form>
			<p>
			<a class="text-login" th:href="${#request.contextPath}+'/password/new'" target="_blank">修改/忘记密码？</a>
		</div>
	</div>
</body>

</html>